package com.enjoyor.soa.traffic.core.efoms.service;

import java.util.List;

import com.enjoyor.soa.traffic.core.efoms.domain.WorkordersRecordInfo;
import com.enjoyor.soa.traffic.util.pojo.Page;

public interface IWorkordersRecordService {

    public WorkordersRecordInfo selectWorkordersRecordById(String workordersRecordId);
    
	public List<WorkordersRecordInfo> selectWorkordersRecordList(String workordersRecordId, String workordersId,
			String operTypeCode, String operResultCode, String operStartDate, String operEndDate);

	public Page selectWorkordersRecordPage(Page page, String workordersRecordId, String workordersId,
			String operTypeCode, String operResultCode, String operStartDate, String operEndDate);
    
    public String insertWorkordersRecord(WorkordersRecordInfo workordersRecord, String personName);

    public String insertWorkordersRecord(WorkordersRecordInfo workordersRecord, String workordersStatusCode, 
    		String deadlineDate, String personName);
    
    public String updateWorkordersRecord(WorkordersRecordInfo workordersRecord, String personName);

    public String deleteWorkordersRecord(String workordersRecordId, String personName);
}
